﻿namespace OfficeWatermark
{
    public class StyleModel
    {
        public string filePath { get; set; }

        public string showContent { get; set; }

        public int angle { get; set; }

        public int layout { get; set; }

        public string fontStyle { get; set; }

        public string fontColor { get; set; }

        public int fontSize { get; set; }

        public float transparency { get; set; }

        public string saveFilePath { get; set; }

        public string imgPath { get; set; }

        public int topSplit { get { return _topSplit; } set { _topSplit = value; } }
        private int _topSplit = 50;
        public int leftSplit { get { return _leftSplit; } set { _leftSplit = value; } }
        private int _leftSplit = 20;

        /// <summary>
        /// -------不做赋值处理----------------------
        /// </summary>
        public virtual string virtualText { get; set; }

        /// <summary>
        /// 宽度间隔多少像素
        /// </summary>
        public int widthSplit { get { return _widthSplit; } set { _widthSplit = value; } }
        private int _widthSplit = 50;

        /// <summary>
        /// 高度间隔多少像素
        /// </summary>
        public int heightSplit { get { return _heightSplit; } set { _heightSplit = value; } }
        private int _heightSplit = 160;
    }
}